/*
 * @description: 商品管理-属性管理下的接口返回值ts类型
 * @author: Flechaxo
 * @date: 2024-06-24 16:17:25
 * @version: V1.0.5
*/
import { responseData } from '@/api/user/type.ts'
export interface categoryList extends responseData {
  data: categoryItem[]
}
export type categoryItem = {
  createTime: string,
  id: number,
  name: string,
  updateTime: string,
  category1Id?: number,
  category2Id?: number
}
// 属性值对象的ts类型
export interface AttrValue {
  id?: number,
  valueName: string,
  attrId?: number,
  flag?:boolean
}
// 属性对象
export interface Attr {
  id?: number,
  attrName: string,
  categoryId: number | string,
  categoryLevel: number,
  attrValueList: AttrValue[]
}